package com.sc.pattern.activeobjects;

/**
 * Created  on 2018/1/14.
 *
 * @author sc
 */
public class Client {
    public static void main(String[] args) {
        ActiveObject activeObject = ActiveObjectFactory.createActiveObject();
        new MakeStringThread(activeObject,"sc").start();
        new MakeStringThread(activeObject,"janet").start();
        new DisplayThread("shuchang",activeObject).start();
    }
}
